package org.msfj.common;

import org.msfj.authority.client.EnableAuthorityClient;
import org.msfj.common.submail.SubmailAutoConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;

@SpringBootApplication
@EnableFeignClients("org.msfj.*.feign")
@ComponentScan("org.msfj")
@EnableAuthorityClient
@Import({SubmailAutoConfig.class})
public class CommonserviceApplication {

    public static void main(String[] args) {
        SpringApplication.run(CommonserviceApplication.class, args);
    }
}
